package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * 首页 轮播图
 * Created by mark on 2017/12/7.
 */

public class IndexCarouselFigure {

    /**
     * result : 1
     * message : 展示成功
     * data : [{"id":"14","name":"app轮播图1","img":"/upload/goods/20160806171309937.png","type":"1","activity":""},{"id":"22","name":"app轮播图2","img":"/upload/goods/20160110135747797.png","type":"1","activity":""},{"id":"31","name":"app轮播图3","img":"/upload/goods/20160807154622796.png","type":"1","activity":""},{"id":"33","name":"4","img":"/upload/goods/20161213174341961.jpg","type":"1","activity":""}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 14
         * name : app轮播图1
         * img : /upload/goods/20160806171309937.png
         * type : 1
         * activity :
         */

        private String id;
        private String name;
        private String img;
        private String type;
        private String activity;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getActivity() {
            return activity;
        }

        public void setActivity(String activity) {
            this.activity = activity;
        }
    }
}
